//调用接口配置文件
import { request } from 'config/request'
import config from 'config/config'

//保存
export async function submit(params) {
  return request({
      url: `zituo-admin/a/platform/userManager/save`,
      method: 'POST',
      data: params,
  });
};

//编辑查看时获取数据
export async function queryInfo (params) {
  return request({
    url: `zituo-admin/a/platform/userManager/queryUserById`,
    method: 'GET',
    data: params,
    headers: {
      'Content-type': 'application/json',
    }, 
  })
}





